Fix incorrect attribute name