add newline after closing