Vars scope fixed!