add castString to number validator