made internal cal work like caldav version