fixed line breaks with cursor