The concerned authorities should have conducted periodic Health & Safety inspections on these buildings and identified these unsafe conditions prior to sanction
"consent to occupy" to ensure safety of occupants.