fix dual execution problem