move rootContainer to render options