fix published_bare append and container_url + misc
fix infinite while loop