remove certain fields