addEvent to calendar obj fix