fixed marshaling idiocy