Time counting fixed