fix minor validation issue