problem with rerendering