Fix incorrect attribute name.