fix wrong attribute names