unnamed buffer write fix