Fix fetch on generate_from_hash