fixing error calling static method