small fixes to serializers