Fixed a boot bug