none static method issue