replace the stream serializer with old version