remove some dead arguments