fixed input error