fix action 'type' multiple insert