fix error for dates totaling > 9.