normalize spacing