more gflag fixes