fix logging time