Fix attributes.