only fetch keys to build db