Fixing the flags.