Fix initializing exception