fixing shelter demo glitch