Fix issue: the variable definition file had to be open