correct input view code

Change-Id: I280c463ab45d90652632fdb3bbab32e67ba54554