install_bootloader() function fix