bug fix--undefined player ranks