added path reversion