fix the bug
Merge pull request #26 from jiaoyang/master

fix the bug in instrument