fixed bug at persistentobject and application