fix for use of different serializer by the db compare