fixed UI.js