fixed freevars