Removing extra HEAD statement prior to head