layout housekeeping