Error at Trade item

i have a strange problem
1- when bot try to buy Trade items it’s make like a bug i cant open any NPC after this problem
2- when i restart game to can use any NPC and try to buy trade with my self it’s working then start bot it’s working fine and sell thetrade normaly
what’s the problem to buy trade item’s?