Cleanup empty spaces.