rerender on reset instead of file change