Fix osm warnings