calendar saveEvents bugs fixed