Made nData more resilient to crashes