Fixed bug with utils.js