remove exposed layers