Bugfix with the clock