fixed how average number of tries is calculated