trying to figure out preventing refresh
fixed reactive re-rendering