bugfix delete row on "building" table