Fixing wrong Rearrange.