add error when mongodb is not here