boot sequence bug fix