fix xpath extracting map