bugfix to persistence option