cleared code in util.js