Bugfix for VPS and typo

Bugfix for VPS after code optimization
Fixed typo