moved makepersistence from freepto-lb