fix #13

fix size bug for vm