remove obsolete fields