correction of class method invocation