fixed meshbuffer using membuffer