fixed _get_chains() method