Fix bug of consequent spaces.