fix invalid instrument