delete repeat_previous_action in api module