vars & methods renaming
fixed error where vector layer was seen as WMS