Fix for an undefined variable used for inVar and outVar.