Renewal Minivm

Fix minivm many bugs...