fixed compile errors at VPVM