restore vps
refactoring