reverting the flag