persistence and spring fix