clear some unused funcs