Fix for character serializer