fixed bug in persistence config