serializer bug fix