remove unused publish