Fix a bug at _extract_parameter_id