remove unwanted function