input view bug fix