Fix stringLength issue that always required