[bug][Kashish] adding transactional middleware