fixed user inpug bug