Make the buffer writeable for correctness