fixed line delete bug