fixed outout to remove brackets but keep all info