fix kill-line bug