added serialization, dunno why the portal started to throw this exception