fix newline missing in references