remove write for buffered write