prevent losing data on long-overflows