Remove extra newline from output