updated imp and added a buffer read since juju wasn't remember cursor location