reverting repo