removing commented out elements