find sign error in dg