Fixing an issue with the var rule

Found another case where var can't be used