Fix for the bug - race condition loading.