fix syntax of route linestring