added handling for publishing issues.