refine vps handler