fix latest time bug