fixed not to use serialize/unserialize (fixes #3526)