api-core: fix roouter