Fix SNS publication error