Fix misnamed attributes.