remove extra fields