Remobe beforeRender hook