Flag bug fix

Fail copy/paste.