fixed npc options being messed on 317 revision and also fixed the npc id being + 1 always.