Corrected wrong value in Register Validation