fix issue 10055 - Incorrect attribute merging in destructor building