remove needless method