Detecting the undefined problem. Is Mongo the cause?