improve bootloader