simplier length validator