delete unused funcs