fix publishing issues