remove hasInitialized