fixed lineWithFocus issue