adaptation for server2.0