fix action type and dates