fix internal time