modified selection line bug.