bugfix of midsection