terrible support for deleting wms layers