still an issue when publishing messages