fix tag serializer