stop indexing nil value