fix simple highlights disappear when buffer swapped