fixed run_instrument