revert function doesn't like '_' in path