restore to correct version