remove depreciated fields from modinfo