fix the action-type for the dynamic form