flatten results to one line