fix the unicode shelve issue on recovery too