fixed bug where the next level was not loading