fix static method invocations