input with unicode characters bug fixed