fix failure count