fix logic bug in applying fixup text
fix validator logic in example