fixes ranked mode in end popup