smarter reinit