fix the rank btn