fixed mulitple instances loading.