better injection of apiadapter into router