proper mongo configuration