fix parse_locations! crasher