fix a overflow