Bug fix

Bug fix on static method