fixing persistent data