added publish value to structure result