changes to fix crashes on gettarget and getgameplaydata