a bug fix for day view, now can save events