flags is in the wrong location.