revert rearrangment