change resource convert client/server struct