line break bug fixes