removing arbitrary space