fix bug with serialising passability