优化adapter