Fixed the validation error