update inView example, fix wrong spelling