Input error fix.

When enter something that not number.
It's will return error message.