remove extraneous fields