fix static method invoke problem