Clean up head tags