Fixed wrong call to boot_dev variable