card ranking fix