Fix mongodb elements to for Ubuntu