Fix OpenLayers generation