level cleanup