object inout fixes