forgot to update the flag