remove duplicate isLoaded