fix mongodb dependency