fix minor calendar storing bug