Timelogs sum fix and some crashes