removing some functions in util.js
not called anywhere