fix param type error when calling abort function