fix class method call to instance call