dynamic menu bug