fix bug in instrument call should be able to interact with cursor