refine spacing