fix for quote total time calculation