use correct attribute name.