fix user policy serialization