add validate to Tag