fixed cyclecounter