fix a menu bug