a small fix for menu api