fix timeLookup bug