Fixed segstr to str proto.