fix a bug in nullOrEmpty
output id mappings in networksgenerator
fix bugs in mymongocollection