Fixed bug with going to the next level