fix some ogc variables management