inproved defaultPersistence
fixed issue #3