fix selection on line