set the correct flags before implementing auto persisting...