removing the .join("\n") was the problem here.