fixed an issue with unicode in string, added duration for crossfade animation