fixed bug with input name