fix crash of myAgenda