fix bug of success/failure count