remove redundant spacing