repair demaged data when analyzing