fix head files