Added small move optimization for config_error