fixed spilling housing problem