fix rtf bugs
update revision to 29