remove unwanted method