resolved mongodb issue