fix instrument bug: get activity hangs