fix metadata for WMS and not WFS