Fixed the Validation behavior.

Fixed the Validation behavior.