fix the kill-line bug