fix overall time calculation
fix typo