check twilio not null before using it.