Fix issue to allow random name generation for NPC