attempt to prevent overflow