added saftey body check for twilio