attempted to fix the persistence problem