fixed all nextlevel statements