little fix.
fix.
get buffer from editor.