deactivate obsolete code