fix reinit
fix slicing