Fixes the persistence memory issue
Merge pull request #862 from enigma-dev/persistence

Fixes the persistence memory issue