fixed a bug that was preventing day summaries from saving