fix bugs of instrument