fix failure_message being nil