rm obsolete defs