prevent double re-rendering
initial implementatin of save functions