Fix :bug: for setting objects