fix delete to beginning from the middle of a line