Well, that sounds like your using the wrong display ID or the wrong NPC ID.

Make sure the NPC's Display ID is valid, if it's not it'll give you a small blue cube.