fix failed cases