fixed isInitialized