fix errors after hiding osm notes layer