fix one_object output not saved into variable