Fix degraded codes