remove unnecessary main field