fixed Buffer::create_writeable method