Fix the graphs due to broken HTML resulting from broken PHP