avoid undeflow condition