fixed publisher ready bug in publisher