fix: fail_get_ranks