remove erroneous fields