clarify about allowInvalid