Fix an overflow issue.