fix error when persist and read sfile