trial fix for re-rendering issue