fix clock delay