corrects bug with whitespace in chart title