delete useless functions