curPlayer bug fix