fix decoratedname type