revert space triming