move setup out of default
fix templating issue for osm