bugfix in bootloader