fixing newline and spacing