Exception for mongodb added