debug error in affectations