fix for empty persistent files