fix bug in saving drawGpDiff