fix for failed cases