Fixed the end of .dot export