clean up bootloader patch