remove some unnecessary fiels