add newline between namespaces if no whitespace in between