fix clock binary format