remove obsolete functions