Fix clock loading issue