input is-error fix