fix nested object instance