fixed fake clock logic