fixed menu to remove repeated sub-entries