fixed the clock output