improve head files dependence