fixed second failure in rankof