fix core from data dump