fixed bug in duplicating events in manager calendar