fixed clock not updating time