Possible fix for error on value serialization.