return Error on non-numeric input; fixes #2