bootup bug fix