Thank you @sven ! I thought that the time was reset automatically after calling the second main. Yes, i checked the values and they are the same.