fix reversion