replaced str with unicode in diff