remove an obsolete function