fixed the populate issue related to indexing refs