Fix the crash in the fail case