added default value for getVar if not set
made use of new default value in getVar() in all plugins