fixed boot bug