fix a mistake in new resolve, the ksCheck returns the api not the API service