modify the RefPtr path