serialize the init path in ui/btc.