failback if mongodb does not work