Bug found in DG implementation