Fix the auto next level bug