remove negative numuber of levels