fix GetLocalPlayer bug