context->repository fix