fixed logging time