cleanup bootloader