fixed compile errors on VPVM