fix bug in loading next level