fixing config error