corrected persistence service