cleanup useless tool functions