fixed button to stop re-rendering