fix housing bug