fix bug where days = 0 after 0th day