fix bug of "this" in static method