prevent console warnings when using OSM source other https