Fix# crash on time log creation