add validate for menu