sanitize names

This should fix the issue with non-alphanumeric characters messing up the charts.