fix mongodb setting