revisited fix for OpenLayers check