fix empty menu item on validate