fix line select error