fixed bug in cal

events were duplicating when view switched.