debug for menu