correct attribute references