fixed math bug in trip duration