Fixing invalid flag.