fix buffer functions
fix insert newline
add delete-word