fix null serializer