fix bug in vm batch