similar changes made to the formatting parser.