Fix method call in static