fix failure/success