fix bugs in housing