minor refactored ServiceProxy