fix error with decorator reference