you should correct this comment so you don't fix something that isn't broken -- I think the simplification is happening only if abs(w) > 1. It doesn't happen for the following, for example:

```
>>> w
I
>>> powsimp((x**(1/w))**w)
(x**(-I))**I
```