Fix vars reference