remove buffer in write mode