fixed wms show/hide