fixing problem when highlighting and no row is known for ansi copy