Fixes for incorrect path of mongo