Fixed startup failure on MongoDB