remove some unused fields