cleaned a warning about time()