Fix overflow issue.