Hiding the "nan" string?

I’m working on a gallery where I’m numbering the thumbnails with

this.number.text = this.id+1;

It works great and numbers them perfectly but on the initial movie clip for the thumbs there “nan” pops up in the text feild. Is there a way to hide this???

Thanks in advance!!