fix bug in owner serialisation