remove some unused bits