fix wrong attribute