fix ranking with cards