y axis was inverted in Periods plot. Fixed