fix some bugs in menuView/cart