fixing config resolution