After a bit more testing i believe i found that the problem is from id resolver. after removing id resolver and fixing some id's on my own it fixed my problem with the trade window with the npc's and also fixed the missing textures that millionaire had too.