fix in string ranges, now catches error when step size (part after the ":") is not >0.