fix reading clocks