remove trailing newline that snuck in