fix degree structure table