fixing sendgrid issue