correction for WMSLoader