Bug fix, var case