small bug fix and load of persistent record