Fix overflows.