Debug problem with mongo db