fix instrument appname length > 16 bug