fixed compilation errors of VPVM
fixed compilation errors of VPVM