Well, if you use 0.4 then you probably have the original lib folder from npc folder... (data>npc>lib).
Just replace it... If it doesn't work.
And btw, no support for 0.4 here ;s but anyway, its not my business who uses which version.
So, like I said, probably your npchandler.lua is bugged or old.. :/