added utils.js && ui bugs