fixed delete line bug