add menu's validator