remove unused pg function
remove polylines