init input view