added missing flags that go with error message.