removing head tag