remove window.Buffer