moved osm init