fix failed case