fixed small logic bug in setup_publisher_resources() :-(