[BF] Fixed error in menu component.