fixed cyclicbarrier to work with timekeeper