fixed bug that sometime occurs when "input" lost the focus (the ngModel value stays masked)