Fixing class variable call