fixes up chart intervals