fixed null exception in stats scripts when title isn't overridden on some charts