add zerovm middleware