fix static method calls