Fix WMTS issue