Fixed NaN time, improved success rate calcutation.