GenericWriter: wrong set value