db persitency problem