remove a redundant space