fix single map parse_query