optimization store_repo