fixed authorize publish error