make bootloading work