fix publishing error