fix failure error method name