Formated the output string to remove '/n'