use correct attribute