fixed scheduler to correctly roundTrip interval/duration using clock