fixed bug for name input