add clock;fix clock