disable obsolete code