Compilation failure fixed. Plus bootloader check.