fix poygon parsing