allow passing warining messsage