fix up some erroneous references to old functions directory