fix kexec-hardboot errors