windows directive fixed, polylines should work as well