small corrections in firstboot code