fix stupid scope variable name error