removes commented out elements