Fixed a static method call issue