bug fix about menu.js