fixed a var reference bug
view task