serialize uservariable fixes