fixed the flag