local variable dataModel wasn't reloaded when component rendered in a lo...

...op