Trying to solve issue with OpenLayers