fixed not to use serialize/unserialize (fixes #3526)
Merge branch 'release-3.8.9.1'