firstboot bug fix