Remove extra head tag