dg sub file fix