fix LengthValidator