remove head attributes