Fixed the validation length