remove unused fields from courses