remove some unnecessary members