fixed small persistence bug