Fixed way the boot params were read.