fixed refdes output to text editor