Fix a bug of empty string creation.