fix result.successes not exist error