Fix wmts creation