added timestamp cut in recorder to prevent negative (big unsigned) timestamps