overflow correction