multiple var space detect bugfix