Fix length validator