tweak output so there's always a blank line at the end