fix reinit