fixed bug with apostrophes in plot data