removing the flag