Fixed overflow issue.