amend to bottle
amend to fix empty dir in branches: copy placeholders after init {_save_ph}