Fixed inaccurate/old api for publish removed