move resting attributes into this.attrs