restore version hack