removing some elements