Fix incorrect attribute name

fixes #7446