remove some obsolete functions