fix a can't boot bug