user.js bug repair