fix for menu bug