fixed issue with reason that had trailing \r which was causing issues with plantuml parsing