sp key to wrap, replace missing term functions