fix for failed case