fixed an input error