Fix a bug of failed to initialized string.