adapt to new extension retrieval