updates to portal objects

bug fixes for portal.send+recv