--fixes to store the target id for activity of case type