another attempt to fix newline bugs