fixed the showing multiple events issue on calendar