time / counter fix