Fixing getWidMongo bug