changing serial parser to \n