remove head files