fixed static method issue