fix space formatting