fix bug in Arch::init()