handle null values without error transcoding