solved menu bug