fix infinite loop, make graph show *last* 30 days