log copy fix