Fix a bug about menu