fix some decorate errors