Revert "fixed bugged that crashed the game when changing between levels"

This reverts commit 029386053b4cf99f033812c5c16e02e11bbf0a47.
fixed bug that crashed the game when changing between levels