fixed redis mongo and tls ignore conditions