changed handling of multi variable declaration (it failed in for loops)