fixed bug in txtplot.sh