fixing config ordering error