fix left_delete and delete_word at directly after prompt