remove some functions.