removing head tags