fixed missing newlines