altered position of cursor after using imp