Fix a bug about value initialization.