fix clock issue