Fixing the problem of regeneration of config headers