fixing race condition in lazy loading widgets