better number validator