corrects spacing