Log on code fail
todo
Blur the input