remove mongodb dependency