check for null when sending failed messages