Removed trailing delim when printing to output