added custom_options parse to "map_params"