fixed implode
new line char then tab characters not the other way around