solved WMS bug- Manli